#!/bin/sh
if [ $# -lt 1 ]
then
	echo "usage: $0 {release,test}"
	echo
	exit 1
fi

cp -p `ls -t *.dmg |head -1` ../../wickdd.org/website/$1
if [ "$1" == "release" ]
then
	cp ../ChangeLog ../../wickdd.org/website/release
fi
open ../../wickdd.org/wickdd.site
